package com.hkbigdata.sybx.service.ipml;

import com.hkbigdata.sybx.bean.InsurancePolicy;
import com.hkbigdata.sybx.mapper.InsurancePolicyMapper;
import com.hkbigdata.sybx.service.InsurancePolicyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liuanbo
 * @creat 2025-06-03-16:15
 * @see 2194550857@qq.com
 */
@Service
public class InsurancePolicyServiceImpl implements InsurancePolicyService {
    @Autowired
    public InsurancePolicyMapper insurancePolicyMapper;
    @Override
    public List<InsurancePolicy> InsurancePolicySelect() {
        List<InsurancePolicy> insurancePolicies = insurancePolicyMapper.selectAll();
        if (insurancePolicies != null) {
            return insurancePolicies;
        }
        return null;
    }
}
